package org.chouy.system.service.impl;

import org.chouy.system.domain.SysDept;
import org.chouy.system.mapper.SysDeptMapper;
import org.chouy.system.service.ISysDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: Yang
 * @description: 部门业务类
 * @author: Zhouy
 * @create: 2019-02-01 11:30
 **/
@Service
public class SysDeptServiceImpl implements ISysDeptService {


    @Autowired
    private SysDeptMapper sysDeptMapper;

    @Override
    public List<SysDept> getDeptList() {
        return sysDeptMapper.selectDeptList();
    }
}
